//
//  RequestManager.h
//  Lianxi2
//
//  Created by lanou on 16/7/2.
//  Copyright © 2016年 lanou. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef void(^RequestCompeled)(NSData *data);//请求完成返回数据
typedef void(^UpdateUI)();//刷新UI

@interface RequestManager : NSObject

+ (void)fetchDataWithURL:(NSString *)url parameter:(NSDictionary *)dic metod:(NSString *)method compelet:(RequestCompeled)compele updateUI:(UpdateUI)update;


@end
